<h2> Edit job: </h2>
<form name="frmEditJob" id="frmEditJob" method="post" action="" enctype="multipart/form-data" onSubmit="return checkFrmAddJob('frmEditJob')">
<input type="hidden" name="career_id" id="career_id" value="<{$arrInfoCareer.id}>">
<input type="hidden" name="action" id="action" value="update">
<table border="1" width="100%" cellpadding="2" cellspacing="1" bgcolor="#F0F0F0">
	<tr>
  	<td align="right" style="vertical-align:top; width:80px;">Position</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="position" name="position" size="100" value="<{$arrInfoCareer.position|utf8_escape_html}>" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Company</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="company" name="company" size="100" value="<{$arrInfoCareer.company}>" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Address</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="address" name="address" size="100" value="<{$arrInfoCareer.address}>" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Location</td>
    <td align="left" style="vertical-align:top">
    	<select name="location_id" id="location_id">
      	<option value="-1"> -- Select Location -- </option>
        <{foreach name=nameLoacation key=keyLocation item=itemLocation from=$arrLocation}>
        	<option <{if $arrInfoCareer.location_id eq $itemLocation.id}>selected="selected"<{/if}> value="<{$itemLocation.id}>">&nbsp;&nbsp;&nbsp;<{$itemLocation.location_name}></option>
        <{/foreach}>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top; width:80px;">Industry</td>
    <td align="left" style="vertical-align:top">
    	<select name="industry_id" id="industry_id">
      	<option value="-1"> -- Select Industry -- </option>
        <{foreach name=nameIndustry key=keyIndustry item=itemIndustry from=$arrIndustry}>
        	<option <{if $arrInfoCareer.industry_id eq $itemIndustry.id}>selected="selected"<{/if}> value="<{$itemIndustry.id}>">&nbsp;&nbsp;&nbsp;<{$itemIndustry.industry_name}></option>
        <{/foreach}>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Gender</td>
    <td align="left" style="vertical-align:top">
    	<select name="gender" id="gender" style="width:120px;">
      	<option value="-1"> -- Select Gender -- </option>
        <option value="0" <{if $arrInfoCareer.gender eq 0}>selected="selected"<{/if}>> &nbsp;&nbsp;&nbsp;Male </option>
        <option value="1" <{if $arrInfoCareer.gender eq 1}>selected="selected"<{/if}>> &nbsp;&nbsp;&nbsp;Female </option>
        <option value="2" <{if $arrInfoCareer.gender eq 2}>selected="selected"<{/if}>> &nbsp;&nbsp;&nbsp;Male/Female </option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Age</td>
    <td align="left" style="vertical-align:top">
    	from: <input type="text" id="age_from" name="age_from" size="10" value="<{$arrInfoCareer.age_from}>" />
      to: <input type="text" id="age_to" name="age_to" size="10" value="<{$arrInfoCareer.age_to}>" />
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Salary</td>
    <td align="left" style="vertical-align:top">
    	<div>
    	<select name="salary_unit" id="salary_unit" onChange="selectSalary(this.value)" style="width:120px;">
      	<option value="-1"> -- Select --</option>
        <option value="vn" <{if $arrInfoCareer.salary_unit eq "vn"}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;VND</option>
        <option value="usd" <{if $arrInfoCareer.salary_unit eq "usd"}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;USD</option>
        <option value="1" <{if $arrInfoCareer.salary_unit eq 1}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Negotiable</option>
        <option value="2" <{if $arrInfoCareer.salary_unit eq 2}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Competitive</option>
      </select>
      </div>
      <div style="display:<{if $arrInfoCareer.salary_unit eq "vn" OR $arrInfoCareer.salary_unit eq "usd"}>block<{else}>none<{/if}>; margin-top:5px;" id="id_salary">
      	<input type="text" name="salary" id="salary" value="<{$arrInfoCareer.salary}>" size="10">
      </div>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Working mode</td>
    <td align="left" style="vertical-align:top">
    	<select name="working_mode" id="working_mode" style="width:120px;">
      	<option value="-1"> -- Select --</option>
        <option value="1" <{if $arrInfoCareer.working_mode eq 1}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Full time</option>
        <option value="2" <{if $arrInfoCareer.working_mode eq 2}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Part time</option>
        <option value="3" <{if $arrInfoCareer.working_mode eq 3}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Internship</option>
      </select>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Experience</td>
    <td align="left" style="vertical-align:top">
    	<div>
    	<select name="experience_unit" id="experience_unit" onChange="selectExperience(this.value)" style="width:120px;">
      	<option value="-1"> -- Select -- </option>
        <option value="0" <{if $arrInfoCareer.experience eq 0}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Not yet</option>
        <option value="1" <{if $arrInfoCareer.experience neq 0}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Year(s)</option>
      </select>
      </div>
      <div style="display:<{if $arrInfoCareer.experience neq 0}>block<{else}>none<{/if}>; margin-top:5px;" id="id_experience">
      <input type="text" name="experience" id="experience" value="<{$arrInfoCareer.experience}>" size="5">
      </div>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Description</td>
    <td align="left" style="vertical-align:top">
    	<{$fck_editor}>
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Expired date</td>
    <td align="left" style="vertical-align:top">
    	<input type="text" id="expired" name="expired" size="15" readonly="readonly" value="<{$arrInfoCareer.expired}>" />
      <a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.getElementById('expired'),null,null,null,[0,190,false]);return false;"> <img alt="calendar" src="<{$smarty.const.APPLICATION_URL}>public/images/icon_calendar.gif" align="top" border="0" height="17"> </a> 
    </td>
  </tr>
  <tr>
  	<td align="right" style="vertical-align:top">Status:</td>
    <td align="left" style="vertical-align:top">
    	<select name="status" id="status">
      	<option value="1" <{if $arrInfoCareer.status eq 1}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;Yes</option>
        <option value="0" <{if $arrInfoCareer.status eq 0}>selected="selected"<{/if}>>&nbsp;&nbsp;&nbsp;No</option>
      </select>
    </td>
  </tr>
  
  <tr>
  	<td align="right" style="vertical-align:top">&nbsp;</td>
    <td align="left" style="vertical-align:top">
    	<input type="submit" name="btnSubmit" id="btnSubmit" value="Save" />
    </td>
  </tr>
</table>
</form>
<div>
[<a href="javascript:history.back()">&nbsp;Back&nbsp;</a>]
</div>